package org.enhance.web.util.encryption;

import org.enhance.spring.util.SpringUtil;
import org.enhance.web.common.WebCommonConst;

public class AesUtil {

	private AesUtil() {
		throw new IllegalStateException("Constant class");
	}

	public static String encrypt(String sSrc) {
		return org.enhance.common.util.encryption.AesUtil.encrypt(SpringUtil.getProperty(WebCommonConst.KEY_AESKEY), sSrc);
	}

	public static String decrypt(String sSrc) {
		return org.enhance.common.util.encryption.AesUtil.decrypt(SpringUtil.getProperty(WebCommonConst.KEY_AESKEY), sSrc);
	}

}